[SVM] Make sure that the WP bit is always set in CR0 when running SVM guests.
authorSteven Smith <ssmith@xensource.com>
Thu, 23 Nov 2006 09:36:48 +0000 (09:36 +0000)
committerSteven Smith <ssmith@xensource.com>
Thu, 23 Nov 2006 09:36:48 +0000 (09:36 +0000)
commit07bb349018b93e65e5591d8825629aa37ba0e02a
tree6a1350ed96406f36ca9c0299453d50648f0f82cd
parent3af4730c8d6a8aaf2726491ba1a682852d1a4441
[SVM] Make sure that the WP bit is always set in CR0 when running SVM guests.
This is necessary to be sure that the shadow mode code can always detect
writes to guest page tables.

This should fix Windows restore from hibernation on SVM platforms.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/svm/vmcb.c